<script setup lang="ts">
const props: any = defineProps<{
    ujt: any;
}>();
const { $fn, $global } = props.ujt;
const { userExit } = $fn.useUser(props);
userExit();
</script>

<template>
    <div class="as-user-area">
        <div class="as-user">
            <slot name="tit"></slot>
            <div class="as-user-btns">
                <div
                    class="cur"
                    @pointerdown="
                        $fn.sethash(
                            $global.sys?.router?.config?.login || 'user/login'
                        )
                    "
                >
                    {{ $fn.lg('channeluser.ui.login') }}
                </div>
                <slot name="btn"></slot>
            </div>
        </div>
    </div>
</template>

<style scoped lang="scss"></style>
